package com.kelaite.procurement.dto;

// Generated 2016-3-6 15:13:23 by Hibernate Tools 3.4.0.CR1

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class PipelineHeaderDTO {
	
	private Long id;

	private CompanyDTO tCompany;

	private String description;

	private Date gmtCreateTime;

	private Date gmtUpdateTime;

	private String createdBy;

	private String updatedBy;

	private Integer isDelete; // 0：未删除, 1已删除

	private Set<PipelineItemDTO> tPipelineItems = new HashSet<PipelineItemDTO>();

	public PipelineHeaderDTO() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public CompanyDTO gettCompany() {
		return tCompany;
	}

	public void settCompany(CompanyDTO tCompany) {
		this.tCompany = tCompany;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getGmtCreateTime() {
		return gmtCreateTime;
	}

	public void setGmtCreateTime(Date gmtCreateTime) {
		this.gmtCreateTime = gmtCreateTime;
	}

	public Date getGmtUpdateTime() {
		return gmtUpdateTime;
	}

	public void setGmtUpdateTime(Date gmtUpdateTime) {
		this.gmtUpdateTime = gmtUpdateTime;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Set<PipelineItemDTO> gettPipelineItems() {
		return tPipelineItems;
	}

	public void settPipelineItems(Set<PipelineItemDTO> tPipelineItems) {
		this.tPipelineItems = tPipelineItems;
	}

	@Override
	public String toString() {
		return "PipelineHeaderDTO [id=" + id + ", tCompany=" + tCompany
				+ ", description=" + description + ", gmtCreateTime="
				+ gmtCreateTime + ", gmtUpdateTime=" + gmtUpdateTime
				+ ", createdBy=" + createdBy + ", updatedBy=" + updatedBy
				+ ", isDelete=" + isDelete + ", tPipelineItems="
				+ tPipelineItems + "]";
	}

}
